INCLUDEPATH += $$PWD
DEPENDPATH += $$PWD

QT += network

# Enable very detailed debug messages when compiling the debug version
CONFIG(debug, debug|release) {
    DEFINES += SUPERVERBOSE
}

include (../httpserver/httpserver.pri)
include (../logging/logging.pri)
include (../qtservice/qtservice.pri)
include (../qjsonwebtoken/qjsonwebtoken.pri)
include (../qdatabasepool/qdatabasepool.pri)
include (../qbaseentity/qbaseentity.pri)
include (../authorizationguard/authorizationguard.pri)

SOURCES += \
    $$PWD/httpcontroller.cpp \
    $$PWD/httprouter.cpp \
    $$PWD/httpservice.cpp \
    $$PWD/utils/cookieutils.cpp \
    $$PWD/utils/qjwtutils.cpp \
    $$PWD/utils/requestutils.cpp \
    $$PWD/utils/responesutils.cpp

HEADERS += \
    $$PWD/httpcontroller.h \
    $$PWD/httprouter.h \
    $$PWD/httpservice.h \
    $$PWD/utils/cookieutils.h \
    $$PWD/utils/qjwtutils.h \
    $$PWD/utils/requestutils.h \
    $$PWD/utils/responesutils.h

INCLUDEPATH += \
    $$PWD/database \
    $$PWD/utils
